window.onload=function(){
	let meetPicApi='http://15637237221.wicp.vip/yh/Draft/queryAll.do';
	let list=document.querySelector('.swiper-wrapper')
	axios.post(meetPicApi,{
		
	}).then(res=>{
		console.log(res.data.info)
		let arr = res.data.info;
		let html = ''
		for(let  i = 0;i<arr.length;i++){
			html+=`
			<li class="swiper-slide">
				<a href=""><div class="rec-banner-wrap"><img src="${arr[i].videoCourseImgUrl}" selfId=${arr[i].videoCourseId}></div></a>
				
			</li>
			
			
			`
		}
		
		list.innerHTML=html;
		let btns=document.querySelectorAll('.meet-fly li a')
		
	
				var swiper = new Swiper('.swiper-container', {
				  slidesPerView: 1,
				  spaceBetween: 30,
				  loop: true,
				  effect:'coverflow',
				  pagination: {
				    el: '.swiper-pagination',
				    clickable: true,
				  },
				  
				  navigation: {
				    nextEl: btns[2]
				  },
				});	
				
		btns[1].onclick=function(){
			
		}
				
	})
	
	
	
	
				
			
				
				
			}